import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

var store = new Vuex.Store({
  state: {
    // 定位位置
    locationAddress: {},
  },
  actions: {},
  mutations: {
    updateLocaltion(state, val) {
      state.locationAddress = val;
    },
  },
});

export default store;
